// $Id: loggerorphanfiles.h 34 2004-09-22 13:07:59Z hansemil $
#ifndef LOGGERORPHANFILES_H
#define LOGGERORPHANFILES_H

#include "logger.h"
#include "eos.h"
#include <fstream>

/**
 * Lists how many orphan (and total) files there are in the FileHandler file list each timestep. Orphan files are files that hare known by no nodes, and hence have fallen out of the network.
 */
class LoggerOrphanFiles : public Logger {
public:
	LoggerOrphanFiles();
	void eos_simulate_start(void *);
	void eos_simulate_stop(void *);
	void clock_tick(unsigned int);

private:
	Eos *m_eos;
	std::fstream m_fout;
};

#endif
